﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using HandlingInput;
using GameCore;

namespace GameObject
{
    public class VisibleGameEntity: VisibleGameObject
    {
        /// <summary>
        /// Id của đối tượng, X: Kiểu đối tượng, Y: Id của đối tượng đó
        /// </summary>
        private Point object_iD;

        public Point Object_iD
        {
            get { return object_iD; }
            set { object_iD = value; }
        } 
        protected List<ActionButton> List_Action;

        public string Name;

        public delegate void GetEvent(VisibleGameEntity sender, GameState gs);
        public virtual event GetEvent Enter;
        public virtual event GetEvent Hover;
        public virtual event GetEvent Normal;

        public virtual bool CanActack()
        {
            return false;
        }
        public void SetID(Point ID)
        {
            object_iD = ID;
        }


    }
}
